package com.nju.edu.erp.dao;


import com.nju.edu.erp.model.po.PurchaseReturnsSheetPO;
import com.nju.edu.erp.model.po.PurchaseSheetPO;
import com.nju.edu.erp.model.po.SaleReturnsSheetPO;
import com.nju.edu.erp.model.po.SaleSheetPO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
@Mapper
public interface BusinessHistoryDao {

    List<SaleSheetPO> getSaleSheet(Date beginDate, Date endDate, String cName, String operator);

    List<SaleReturnsSheetPO> getSaleReturnsSheet(Date beginDate, Date endDate, String cName, String operator);

    List<PurchaseSheetPO> getPurchaseSheet(Date beginDate, Date endDate, String cName, String operator);

    List<PurchaseReturnsSheetPO> getPurchaseReturnsSheet(Date beginDate, Date endDate, String cName, String operator);
}
